﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200138B RID: 5003
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeRogueEndlessActivityAllBonusRewardScRsp : IMessage<TakeRogueEndlessActivityAllBonusRewardScRsp>, IMessage, IEquatable<TakeRogueEndlessActivityAllBonusRewardScRsp>, IDeepCloneable<TakeRogueEndlessActivityAllBonusRewardScRsp>, IBufferMessage
	{
		// Token: 0x17003F12 RID: 16146
		// (get) Token: 0x0600E000 RID: 57344 RVA: 0x00256F57 File Offset: 0x00255157
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeRogueEndlessActivityAllBonusRewardScRsp> Parser
		{
			get
			{
				return TakeRogueEndlessActivityAllBonusRewardScRsp._parser;
			}
		}

		// Token: 0x17003F13 RID: 16147
		// (get) Token: 0x0600E001 RID: 57345 RVA: 0x00256F5E File Offset: 0x0025515E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeRogueEndlessActivityAllBonusRewardScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003F14 RID: 16148
		// (get) Token: 0x0600E002 RID: 57346 RVA: 0x00256F70 File Offset: 0x00255170
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeRogueEndlessActivityAllBonusRewardScRsp.Descriptor;
			}
		}

		// Token: 0x0600E003 RID: 57347 RVA: 0x00256F77 File Offset: 0x00255177
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeRogueEndlessActivityAllBonusRewardScRsp()
		{
		}

		// Token: 0x0600E004 RID: 57348 RVA: 0x00256F8C File Offset: 0x0025518C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeRogueEndlessActivityAllBonusRewardScRsp(TakeRogueEndlessActivityAllBonusRewardScRsp other) : this()
		{
			this.fEIBKNDNJAH_ = other.fEIBKNDNJAH_.Clone();
			this.reward_ = ((other.reward_ != null) ? other.reward_.Clone() : null);
			this.retcode_ = other.retcode_;
			this.fEJEDBDGPAF_ = other.fEJEDBDGPAF_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E005 RID: 57349 RVA: 0x00256FF5 File Offset: 0x002551F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeRogueEndlessActivityAllBonusRewardScRsp Clone()
		{
			return new TakeRogueEndlessActivityAllBonusRewardScRsp(this);
		}

		// Token: 0x17003F15 RID: 16149
		// (get) Token: 0x0600E006 RID: 57350 RVA: 0x00256FFD File Offset: 0x002551FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> FEIBKNDNJAH
		{
			get
			{
				return this.fEIBKNDNJAH_;
			}
		}

		// Token: 0x17003F16 RID: 16150
		// (get) Token: 0x0600E007 RID: 57351 RVA: 0x00257005 File Offset: 0x00255205
		// (set) Token: 0x0600E008 RID: 57352 RVA: 0x0025700D File Offset: 0x0025520D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList Reward
		{
			get
			{
				return this.reward_;
			}
			set
			{
				this.reward_ = value;
			}
		}

		// Token: 0x17003F17 RID: 16151
		// (get) Token: 0x0600E009 RID: 57353 RVA: 0x00257016 File Offset: 0x00255216
		// (set) Token: 0x0600E00A RID: 57354 RVA: 0x0025701E File Offset: 0x0025521E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003F18 RID: 16152
		// (get) Token: 0x0600E00B RID: 57355 RVA: 0x00257027 File Offset: 0x00255227
		// (set) Token: 0x0600E00C RID: 57356 RVA: 0x0025702F File Offset: 0x0025522F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FEJEDBDGPAF
		{
			get
			{
				return this.fEJEDBDGPAF_;
			}
			set
			{
				this.fEJEDBDGPAF_ = value;
			}
		}

		// Token: 0x0600E00D RID: 57357 RVA: 0x00257038 File Offset: 0x00255238
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeRogueEndlessActivityAllBonusRewardScRsp);
		}

		// Token: 0x0600E00E RID: 57358 RVA: 0x00257048 File Offset: 0x00255248
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeRogueEndlessActivityAllBonusRewardScRsp other)
		{
			return other != null && (other == this || (this.fEIBKNDNJAH_.Equals(other.fEIBKNDNJAH_) && object.Equals(this.Reward, other.Reward) && this.Retcode == other.Retcode && this.FEJEDBDGPAF == other.FEJEDBDGPAF && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E00F RID: 57359 RVA: 0x002570BC File Offset: 0x002552BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.fEIBKNDNJAH_.GetHashCode();
			if (this.reward_ != null)
			{
				num ^= this.Reward.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.FEJEDBDGPAF != 0U)
			{
				num ^= this.FEJEDBDGPAF.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E010 RID: 57360 RVA: 0x00257138 File Offset: 0x00255338
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E011 RID: 57361 RVA: 0x00257140 File Offset: 0x00255340
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E012 RID: 57362 RVA: 0x0025714C File Offset: 0x0025534C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.fEIBKNDNJAH_.WriteTo(ref output, TakeRogueEndlessActivityAllBonusRewardScRsp._repeated_fEIBKNDNJAH_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Retcode);
			}
			if (this.reward_ != null)
			{
				output.WriteRawTag(90);
				output.WriteMessage(this.Reward);
			}
			if (this.FEJEDBDGPAF != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.FEJEDBDGPAF);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E013 RID: 57363 RVA: 0x002571D4 File Offset: 0x002553D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.fEIBKNDNJAH_.CalculateSize(TakeRogueEndlessActivityAllBonusRewardScRsp._repeated_fEIBKNDNJAH_codec);
			if (this.reward_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Reward);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.FEJEDBDGPAF != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FEJEDBDGPAF);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E014 RID: 57364 RVA: 0x00257258 File Offset: 0x00255458
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeRogueEndlessActivityAllBonusRewardScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.fEIBKNDNJAH_.Add(other.fEIBKNDNJAH_);
			if (other.reward_ != null)
			{
				if (this.reward_ == null)
				{
					this.Reward = new ItemList();
				}
				this.Reward.MergeFrom(other.Reward);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.FEJEDBDGPAF != 0U)
			{
				this.FEJEDBDGPAF = other.FEJEDBDGPAF;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E015 RID: 57365 RVA: 0x002572E5 File Offset: 0x002554E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E016 RID: 57366 RVA: 0x002572F0 File Offset: 0x002554F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 10U)
				{
					if (num == 8U || num == 10U)
					{
						this.fEIBKNDNJAH_.AddEntriesFrom(ref input, TakeRogueEndlessActivityAllBonusRewardScRsp._repeated_fEIBKNDNJAH_codec);
						continue;
					}
				}
				else
				{
					if (num == 16U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 90U)
					{
						if (this.reward_ == null)
						{
							this.Reward = new ItemList();
						}
						input.ReadMessage(this.Reward);
						continue;
					}
					if (num == 112U)
					{
						this.FEJEDBDGPAF = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040058B4 RID: 22708
		private static readonly MessageParser<TakeRogueEndlessActivityAllBonusRewardScRsp> _parser = new MessageParser<TakeRogueEndlessActivityAllBonusRewardScRsp>(() => new TakeRogueEndlessActivityAllBonusRewardScRsp());

		// Token: 0x040058B5 RID: 22709
		private UnknownFieldSet _unknownFields;

		// Token: 0x040058B6 RID: 22710
		public const int FEIBKNDNJAHFieldNumber = 1;

		// Token: 0x040058B7 RID: 22711
		private static readonly FieldCodec<uint> _repeated_fEIBKNDNJAH_codec = FieldCodec.ForUInt32(10U);

		// Token: 0x040058B8 RID: 22712
		private readonly RepeatedField<uint> fEIBKNDNJAH_ = new RepeatedField<uint>();

		// Token: 0x040058B9 RID: 22713
		public const int RewardFieldNumber = 11;

		// Token: 0x040058BA RID: 22714
		private ItemList reward_;

		// Token: 0x040058BB RID: 22715
		public const int RetcodeFieldNumber = 2;

		// Token: 0x040058BC RID: 22716
		private uint retcode_;

		// Token: 0x040058BD RID: 22717
		public const int FEJEDBDGPAFFieldNumber = 14;

		// Token: 0x040058BE RID: 22718
		private uint fEJEDBDGPAF_;
	}
}
